xen/Coverity: audit of MISSING_BREAK defects
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Feb 2015 13:36:26 +0000 (14:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Feb 2015 13:36:26 +0000 (14:36 +0100)
commit4f3d3612e6e1311440f0c268a7bf950d3c760839
treeb3a23caa697dc2b7d07d4761b144914df5532a12
parent4677e007d7d4ee46f2ed428dce95ca630230e480
xen/Coverity: audit of MISSING_BREAK defects

Coverity uses several heuristics to identify when one case statement
legitimately falls through into the next, and a comment as the final item in a
case statement is one heuristic (the assumption being that it is a
justification for the fallthrough).

Use this to perform an audit of defects and hide the legitimate fallthroughs.

No functional change.  All identified fallthroughs are legitimate.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Coverity-IDs: 105548310554841055486 - 10554881055490 - 1055496,
              1055498 - 105550010555011220091
Reviewed-by: Don Koch <dkoch@verizon.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/arch/x86/x86_64/compat/mm.c
xen/common/lib.c
xen/common/schedule.c